@import "../../../assets/sass/mixin";
@import "../../../assets/sass/variables";

.free-pagination {
  display: flex;
  justify-content: center;

  & > ul {
    display: flex;

    li {
      list-style: none;
    }
  }

  .free-pagination-item {
    margin: 0 2px;
    position: relative;
    vertical-align: top;

    a {
      display: inline-block;
      min-width: 16px;
      padding: 3px 5px;
      line-height: 20px;
      text-decoration: none;
      box-sizing: content-box;
      text-align: center;
      border-radius: 4px;
      color: #666;
      border: 1px solid #d9d9d9;
      background-origin: border-box;
      cursor: pointer;

      &:hover {
        background: #115d8e;
        color: #fff;
      }
    }

    &.free-pagination-active a {
      color: #fff;
      background: #115d8e;

      &:hover {
        cursor: auto;
      }
    }

    &.free-pagination-disabled a {
      opacity: 0.4;
      pointer-events: none;
    }
  }
}
